package com.cqq.print.business.service;

import java.util.List;
import java.util.Map;

import com.cqq.common.core.bean.PageInfoBean;
import com.cqq.print.business.service.bean.PProduceDetailBean;

/**
 * @author generated
 * @date 2015-07-01
 */
public interface PProduceDetailService{

	int insertSelect(PProduceDetailBean ppDetail);
	
	int updateByPrimaryKey(PProduceDetailBean ppDetail);
	
	List<PProduceDetailBean> queryDetailsByProduceId(int proId);
	
	List<PProduceDetailBean> queryDetailsWithProPlanByProduceId(int proId);

    void deleteByProduceId(int proId);
    
    void deleteById(int detailId);
    
    PageInfoBean<PProduceDetailBean> queryDetailsByUserId(Map<String,Object> map);    
    
    PProduceDetailBean findById(Integer id);
}